﻿using System;
using AccessControl.Contracts.Models;

namespace AccessControl.Data.Models
{
    /// <summary>
    /// Base model class
    /// </summary>
    /// <remarks></remarks>
    public abstract class Model : NotifyPropertyChangedBase, IModel
    {
        #region Fields

        int _Id;

        #endregion

        #region Public Properties

        /// <summary>
        /// Gets or sets the id.
        /// </summary>
        /// <value>
        /// The id.
        /// </value>
        public int Id
        {
            get { return _Id; }
            set { _Id = value; }
        }
        

        #endregion
    }
}
